<!-- siteheader -->
<% 
move = ""
if not post :
    move = "move"
else:
    if post.article.type.prefix != "builder" and post.article.type.prefix != "house":
        move = "move"
    else:
        move = ""
endif
%>
<div id="siteheader" class="${move}">
    
    <div class="boxleft">
    <!-- PAGE DISPLAY -->
    %if post :
    <div class="headdisplay" style="position:relative;">
    <img src="/common/img/display/${ post.article.type.prefix }.png" style="max-width:320px;" alt=""/>
    <div style="position:absolute;bottom:5px;left:5px;">
    <% posts = AT.GetPostsByKey('builder',str(post.key)) %>
    %for contents in posts:
    <h4>${ contents.GetField('name') }</h4>
    %endfor
    %if post.article.type.prefix != 'builder':
    <div>${ post.title }</div>
    %endif
    </div>
    </div>
    %else:
        %if id == "index":
        <img src="/common/img/display/${ id }.png" style="max-width:320px;"alt=""/>
        %else:
        <img src="/common/img/display/${ id }.png" style="max-width:320px;"alt=""/>
        %endif
    %endif
    <br clear="all"/>
    <span id="topback" style="position:absolute;top:400px;left:0;"><a href="/">HOME</a></span>

    </div>

    <nav class="boxright">
    <div class="boxouter">
        <table id="siteboard">
        <tbody>
        <tr>
        <td>
        <a href="/pages/house.html">施工事例集</a>
        </td>
        <td>
        <a href="/pages/builder.html">各社紹介</a>
        </td>
        <td class="maruwakari" colspan="1" rowspan="2">
        <a href="/forms/formmail_maruwakarikit.html">
        広島の注文住宅 <br/>
        まるわかりキット<br/>
        <span>お取り寄せ</span>
        </a>
        </td>
        </tr>
        <tr>
        <td>
        <a href="/pages/event.html">イベント情報</a>
        </td>
        <td>
        <a href="/pages/osusume.html">オススメ物件</a>
        </td>
        </tr>
        </tbody>
        </table>

        <div id="hang">
        <img src="/common/img/box_header.png"/>
        </div>

    </div>
    </nav>

</div>


